import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// 导入elementui
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);
// 导入rem适配
import "./utils/rem";

// 导入vbestui 配置vbest ui
import VbsetUi from "vbest-ui";
import "vbest-ui/dist/vbest-ui.css";
Vue.use(VbsetUi);
// 图片懒加载插件
import VueLazyLoad from "vue-lazyload";
// 配置图片懒加载
Vue.use(VueLazyLoad, {
    //未加载显示的内容
    loading: "",
});
// 兄弟传参使用的
Vue.prototype.$bus = new Vue({});

Vue.config.productionTip = false;

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");